/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.xd.domain.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @date 2021-3-4
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class SaveDocumentReleaseReceiveListRequest {

    @ApiModelProperty(value = "文件编号集合", required = true)
    private List<String> documentCodeList;

    @ApiModelProperty(value = "全部放行标识", required = true)
    private Boolean releaseAllFlag;
    /**
     * 接收对象Id
     */
    @NotNull
    @ApiModelProperty(value = "接收对象Id集合", required = true)
    private List<Long> receiveIdList;
    /**
     * 接收类型：0-用户，1-部门
     */
    @NotNull
    @ApiModelProperty(value = "接收类型：0-用户，1-部门", required = true)
    private Integer receiveType;
}
